/*
 * operator.cpp
 *
 *  Created on: Nov 14, 2016
 *      Author: swolice
 */

#include "operator.h"

bool operator::setoperator(char op)
{
	bool ret=false;
	if((op=="+")||(op=='-')||(op=='*')||(op=='/'))
	{
		ret=true;
		mop=op;
	}else {
		mop='\0';
	}

	return ret;
}

void operator::setparameter(double p1, double p2)
{

}

bool operator::result(double &r)
{

}




